package org.example.libraryhelper;

import java.util.List;

public class GlobalVariables {
	public static List<LoanBookInfo> books=null;
	private static String LoginCookie=null;
	public static final String LIBHELPER="LIBHELPER";//
	public static String pwd="";
	public static String loginid="";
	public static String ReaderName=null;
	
	public static void setBooks(List<LoanBookInfo> books)
	{
		if(books!=null)
		{
			GlobalVariables.books=books;
		}
	}
	public static void SetLoginCookie(String cookie)
	{
		LoginCookie=cookie;
	}
	public static String GetLoginCookie()
	{
		return LoginCookie;
	}
	
}
